<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org"
	xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
<th:block th:include="include :: header('数据检核分析详情')" />
</head>
<body class="gray-bg">
	<div class="container-div">
		<div class="row">
			<!-- <div class="col-sm-12 search-collapse">
				
			</div> -->
			<form id="gen-form">
				<div class="select-list">
					<ul>
						<li><input id="checkResultId" name="checkResultId" th:value="${checkResultId}"
							type="hidden" /></li>
					</ul>
				</div>
			</form>
			<div class="col-sm-12 select-table table-striped">
				<table id="dialogTable"></table>
			</div>
		</div>
	</div>
	<th:block th:include="include :: footer" />
	<script th:inline="javascript">
        var prefix = ctx + "stat/detail";
        var ruleTypeDatas = [[${@dict.getType('rule_type')}]];

        $(function() {debugger;
            var options = {
            	id : "dialogTable"	,
                url: prefix + "/showStatDataCheckDetByCheckResultId",
                sortName: "createTime",
		        sortOrder: "desc",
		        showExport: false,
		        singleSelect:false,
		        showSearch: false,
		        showRefresh: false,
		        showToggle: false,
		        showColumns: false,
		        clickToSelect: true,
		        rememberSelected: true,
		        modalName: "数据检核分析详情",
                columns: [{
                    checkbox: true
                },
                {
                    field: 'checkDetailId',
                    title: '检核详情id',
                    visible: false
                },
                {
                    field: 'checkResultId',
                    title: '检核结果id'
                },
                {
                    field: 'checkType',
                    title: '检核结果类型'
                },
                {
                    field: 'tableCode',
                    title: '表代码'
                },
                {
                    field: 'tableName',
                    title: '表名称'
                },
                {
                    field: 'checkResult',
                    title: '校验结果'
                },
                {
                    field: 'errorInfo',
                    title: '错误信息'
                },
                {
                    field: 'fieldCode',
                    title: '字段代码'
                },
                {
                    field: 'fieldName',
                    title: '字段名称'
                },
                {
                    field: 'checkRuleId',
                    title: '检核规则id'
                },
                {
                    field: 'checkRuleName',
                    title: '检核规则'
                },
                {
                    field: 'recordPk',
                    title: '记录主键'
                },
                {
                    field: 'recordValue',
                    title: '字段值'
                },
                {
                    field: 'jobId',
                    title: '作业id'
                },
                {
                    field: 'jobName',
                    title: '作业名称'
                }]
            };
            $.table.init(options);
        });
    </script>
</body>
</html>
